#ifndef _GUI_READER_H_02042013_
#define _GUI_READER_H_02042013_

#include <QRunnable>
#include <QObject>

#include "Shelf.h"


namespace library { 

  class Reader : public QObject, public QRunnable {

      Q_OBJECT

   public:

    explicit Reader(Shelf *shelf, int time, QObject *parent = 0);
    void run();

  signals:

    void read();
    void wait();

  private:

    Shelf *shelf;
    int time;

  };

} // namespace library

#endif // _GUI_READER_H_02042013_
